package com.bohua.child.entity;

import lombok.Builder;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;
/**
 * 考勤表
 * @author shichenyang
 * @email gyv12345@163.com
 * @date 2019/01/17
 */
@Data
public class Attendance implements Serializable {
        /**
         * 主键编号
         */
        private Integer id;
        /**
         * 考勤详情
         */
        private String content;
        /**
         * 家长ID
         */
        private Integer parrentsid;
        /**
         * 教室证号
         */
        private Integer teacherId;
        /**
         * 0 显示请假 1 没有请假
         */
        private Integer state;
        /**
         * 创建时间
         */
        @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;
        /**
         * 乐观锁
         */
        private Integer locking;
}
